CGPointFromLinePlane01
Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index
Return to Main Contents
NAME
CGPointFromLinePlane01()
SYNOPSIS
geom_lib/geomat3d.c:781
int CGPointFromLinePlane01(PointType Pl,
PointType Vl,
PlaneType Plane,
PointType InterPoint,
RealType *t)
DESCRIPTION
Routine to find the intersection point of a line and a plane (if any).
The Plane is prescribed using four coefficients : Ax + By + Cz + D = 0
given as four elements vector. The line is define via a point on it Pl and
a direction vector Vl. Returns TRUE only if such point exists.
this routine accepts solutions only for t between zero and one.
PARAMETERS:
Pl, Vl: Position and direction that defines the line.
Plane: To find the intersection with the line.
InterPoint: Where the intersection occured.
t: Parameter along the line of the intersection location
(as Pl + Vl * t).
FUNCTION RETURN VALUE
int: TRUE, if successful and t between zero and one.
ORIGIN
(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- PARAMETERS:
-
- FUNCTION RETURN VALUE
-
- ORIGIN
-
This document was created by
man2html,
using the manual pages.
Time: 07:27:18 GMT, October 17, 2022